﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class Test : System.Web.UI.Page
{
    Datautility DU = new Datautility();
    protected void Page_Load(object sender, EventArgs e)
    {
        //if (!IsPostBack)
        //{
        //    ClientScript.RegisterStartupScript(GetType(), "alertScript", "returnString();", true);
        //}
    }

    protected void btnsave_Click(object sender, EventArgs e)
    {
        string Sql = "";
        DataTable dt = DU.getdata(Sql);
        if (dt.Rows.Count > 0)
        {
            MPE.Show();
            lblval.Text = hid.Value;
        }
        else
        {
            //lblval.Text = "Records Inserted.";
        }
    }
    protected void txtname_TextChanged(object sender, EventArgs e)
    {
        
    }
    protected void btnYes_Click(object sender, ImageClickEventArgs e)
    {
        lblval.Text = "you have to click on yes.";
    }
    protected void btnNo_Click(object sender, ImageClickEventArgs e)
    {
        lblval.Text = "you have to click on no.";
    }
}